package es.cazadoresmadridejos.beans.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import es.cazadoresmadridejos.objs.login.LoginCriteria;

@Controller
public class LoginController {

	@RequestMapping(value="/login.html",method=RequestMethod.GET)
	public ModelAndView login(){
		ModelAndView mv = new ModelAndView();
		
		mv.addObject("loginCriteria", new LoginCriteria());
		
		return mv;
	}
	
}
